package com.qingke.serviceImp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qingke.dao.CommentDao;
import com.qingke.pojo.Comment;
import com.qingke.service.CommentService;

@Service("commentService")
public class CommentServiceImp implements CommentService{
	@Autowired
	CommentDao commentdao;
	
	public Comment selectById(int commentid) {
		Comment comment = (Comment) commentdao.selectById(commentid);
		return comment;
	}

}
